package com.dormitory.management.system.resp;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 报修表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Repair对象", description="报修表")
public class RepairResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报修id")
    private Long id;

    @ApiModelProperty(value = "详情描述")
    private String information;

    @ApiModelProperty(value = "创建日期")
    private Date gmtCreate;

    @ApiModelProperty(value = "修改日期")
    private Date gmtModified;

    @ApiModelProperty(value = "结束日期")
    private Date gmtEnd;

    @ApiModelProperty(value = "报修费用")
    private BigDecimal cost;

    @ApiModelProperty(value = "报修类型id")
    private Long typeId;

    @ApiModelProperty(value = "学号")
    private String stuId;

    @ApiModelProperty(value = "申报原因")
    private String appeal;

    @ApiModelProperty(value = "状态（0：正常，1：禁用）")
    @TableLogic
    private Integer statusId;

    @ApiModelProperty(value = "报修状态（0：待解决，1：已解决，2：申报中，3：已完结）")
    private Integer status;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "报修类型id")
    private Long rtId;

    @ApiModelProperty(value = "报修类型")
    private String repairType;

    @ApiModelProperty(value = "房间号")
    private String room;

    @ApiModelProperty(value = "身份证")
    private String identityCard;

    @ApiModelProperty(value = "房间号id")
    private String roomId;

    @ApiModelProperty(value = "学生姓名")
    private String name;







}
